<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head>
  <title>CSS Test Reference</title>
  <style type="text/css">* { margin: 0; padding: 0 }
   body &gt; span { border: 3px solid blue }
   .notstart { border-left: none; }
   .notend { border-right: none; }
  </style>
 </head>
 <body>
  <span class="notend">
    <span>One</span>
  </span>
  <div>Two</div>
  <span class="notstart notend">
    <span>Three</span>
  </span>
  <div>Four</div>
  <span class="notstart">
    <span>Five</span>
  </span>
 

</body></html>